package com.innovation.chengzhangriji.ui.widget;

import android.view.LayoutInflater;
import android.view.View;
import android.widget.TextView;

import com.innovation.chengzhangriji.R;

public class DiscoverCommentMilestoneViewHolder extends DiscoverCommentViewHolder {

    private TextView mButton;

    public DiscoverCommentMilestoneViewHolder(View itemView) {
        super(itemView);
        LayoutInflater.from(itemView.getContext()).inflate(R.layout.item_comment_milestone, getContent());
        mButton = (TextView) itemView.findViewById(R.id.btn_milestone);
    }

    public void setMilestoneText(String text) {
        mButton.setText(text);
    }
}
